package cn.edu.gxnu.dsa.queue;

public class PriorityData {
	private Object element;
	private int priority;
	public PriorityData(Object element, int priority) {
		super();
		this.element = element;
		this.priority = priority;
	}
	
	public Object getElement() {
		return element;
	}
	public void setElement(Object element) {
		this.element = element;
	}
	public int getPriority() {
		return priority;
	}
	public void setPriority(int priority) {
		this.priority = priority;
	}		
	
}
